package com.ruoyi.bantong.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.bantong.domain.BtPlacecardApply;

/**
 * 版通申请Service接口
 * 
 * @author laohei
 * @date 2021-01-26
 */
public interface IBtPlacecardApplyService 
{
    /**
     * 查询版通申请
     * 
     * @param paId 版通申请ID
     * @return 版通申请
     */
    public BtPlacecardApply selectBtPlacecardApplyById(Integer paId);

    /**
     * 查询版通申请列表
     *
     * @param btPlacecardApply 版通申请
     * @return 版通申请集合
     */
    public List<BtPlacecardApply> selectBtPlacecardApplyList(BtPlacecardApply btPlacecardApply);

    /**
     * 首页轮播中奖列表
     * @return 版通申请集合
     */
    public List<Map<String,Object>> selectBtPlacecardApplyListByStatus();

    /**
     * 新增版通申请
     * 
     * @param btPlacecardApply 版通申请
     * @return 结果
     */
    public int insertBtPlacecardApply(BtPlacecardApply btPlacecardApply);

    /**
     * 修改版通申请
     * 
     * @param btPlacecardApply 版通申请
     * @return 结果
     */
    public int updateBtPlacecardApply(BtPlacecardApply btPlacecardApply)throws Exception;

    /**
     * 批量删除版通申请
     * 
     * @param paIds 需要删除的版通申请ID
     * @return 结果
     */
    public int deleteBtPlacecardApplyByIds(Integer[] paIds);

    /**
     * 删除版通申请信息
     * 
     * @param paId 版通申请ID
     * @return 结果
     */
    public int deleteBtPlacecardApplyById(Integer paId);
}
